//
//  OALog.h
//  OAKitDemo
//
//  Created by ChenJie on 8/24/20.
//  Copyright © 2020 Mist. All rights reserved.
//

#ifndef OALog_h
#define OALog_h

#define OALog(_format, ...) do { \
    printf("✅ %s(Line:%d) Says: \n%s \n-------\n", \
        __PRETTY_FUNCTION__, \
        __LINE__, \
        [[NSString stringWithFormat:_format, ##__VA_ARGS__] UTF8String] \
    ); \
} while (0);

#define OALogFunction do { \
    printf("🍺 %s(Line:%d) \n-------\n", \
        __PRETTY_FUNCTION__, \
        __LINE__ \
    ); \
} while (0);

#define NSLog(...) OALog(__VA_ARGS__)

#endif /* OALog_h */
